package com.firewolf.listener;

import org.apache.shiro.session.Session;
import org.apache.shiro.session.SessionListener;

public class SessionListener1 implements SessionListener {

	@Override
	public void onStart(Session session) {
		System.out.println("回话创建:"+session.getId());
	}

	@Override
	public void onStop(Session session) {
		System.out.println("回话停止："+session.getId());
	}

	@Override
	public void onExpiration(Session session) {
		System.out.println("回话过期："+session.getId());
	}

}
